import os
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
import controllers.login_controller as login
import controllers.home_controller as home

application = webapp.WSGIApplication(
                                     [
                                      ('/login', login.Login),
                                      ('/home\/*(\S*)', home.Home),
                                      ('/add_vehicle\/*(\S*)', home.AddVehicle),
                                      ('/', home.Home)
                                      ],
                                     debug=True)

def main():
  run_wsgi_app(application)

if __name__ == "__main__":
  main()